<?php
include_once 'php/includes.php'; 	// contains includes of all files with functions
session_start();					// starts session for current user
if( !isset($_SESSION['msg_err']) ) $_SESSION['msg_err'] = array(); // create array for error messages (if there is no any)
if( !isset($_SESSION['msg_inf']) ) $_SESSION['msg_inf'] = array(); // create array for information messages (if there is no any)
c_db_connect(); 					// connect to database
include_once 'php/interfaces/i_main.php'; 	// creates final page
c_db_disconnect(); 					// disconnect from database
?>